package kam.fire;



import java.io.Serializable;


import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;

@SuppressWarnings("serial")
@JsonRootName(value = "upload")
public class Upload implements Serializable {

	// campfire generated fields
	
	@JsonProperty("byte_size")
	private int size;
	@JsonProperty("content_type")
	private String type;
	@JsonProperty("created_at")
	private String createdAt;
	private int id;
	private String name;
	@JsonProperty("room_id")
	private int roomId;
	@JsonProperty("user_id")
	private int userId;
	@JsonProperty("full_url")
	private String url;

	// app generated fields
	private int index;



	
	public int getSize(){
		return size;
	}
	public void setSize(int size){
		this.size = size;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public int getRoomId() {
		return roomId;
	}

	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
